package com.eshop.modules.system.domain.vo;

public class UserPassVo
{
    private String oldPass;
    private String newPass;
    
    public String getOldPass() {
        return this.oldPass;
    }
    
    public String getNewPass() {
        return this.newPass;
    }
    
    public void setOldPass(final String oldPass) {
        this.oldPass = oldPass;
    }
    
    public void setNewPass(final String newPass) {
        this.newPass = newPass;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof UserPassVo)) {
            return false;
        }
        final UserPassVo other = (UserPassVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$oldPass = this.getOldPass();
        final Object other$oldPass = other.getOldPass();
        Label_0065: {
            if (this$oldPass == null) {
                if (other$oldPass == null) {
                    break Label_0065;
                }
            }
            else if (this$oldPass.equals(other$oldPass)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$newPass = this.getNewPass();
        final Object other$newPass = other.getNewPass();
        if (this$newPass == null) {
            if (other$newPass == null) {
                return true;
            }
        }
        else if (this$newPass.equals(other$newPass)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof UserPassVo;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $oldPass = this.getOldPass();
        result = result * 59 + (($oldPass == null) ? 43 : $oldPass.hashCode());
        final Object $newPass = this.getNewPass();
        result = result * 59 + (($newPass == null) ? 43 : $newPass.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "UserPassVo(oldPass=" + this.getOldPass() + ", newPass=" + this.getNewPass() + ")";
    }
}
